﻿Public Class ucLibrary
    Private Sub ucLibrary_Load(sender As Object, e As EventArgs) Handles Me.Load
        Dim myFileVersionInfo As FileVersionInfo = FileVersionInfo.GetVersionInfo(Application.StartupPath + "\LiteDB.dll")
        lblLiteDBVersion.Text = myFileVersionInfo.FileVersion

        myFileVersionInfo = FileVersionInfo.GetVersionInfo(Application.StartupPath + "\SharpCompress.dll")
        lblSCVersion.Text = myFileVersionInfo.FileVersion
    End Sub
    Private Sub ucLibrary_Resize(sender As Object, e As EventArgs) Handles Me.Resize
        Panel1.Left = (Me.Width - 700) / 2
        Panel1.Top = (Me.Height - 470) / 2
    End Sub
    Private Sub llLiteDB_LinkClicked(sender As Object, e As LinkLabelLinkClickedEventArgs) Handles llLiteDB.LinkClicked
        Process.Start("https://www.nuget.org/packages/LiteDB/")
    End Sub

    Private Sub llSharpCompress_LinkClicked(sender As Object, e As LinkLabelLinkClickedEventArgs) Handles llSharpCompress.LinkClicked
        Process.Start("https://www.nuget.org/packages/p3-sharpcompress/0.10.5.2")
    End Sub
End Class
